<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>"  />
<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> latest post RSS" href="<?php echo itx_get_option('links','rss') ?>" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> latest comment RSS" href="<?php echo itx_get_option('links','crss') ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory')?>/css/ie6.css">
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory')?>/css/ie7.css">
<![endif]-->
<?php
    if (is_singular() && get_option( 'thread_comments' )) wp_enqueue_script( 'comment-reply' );
    if (is_active_widget(false,false,'itx_tabbed_sidebar')) wp_enqueue_script('jquery-ui-tabs');
    wp_enqueue_script('jquery-color');
    wp_head();
?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
<link rel="stylesheet" href="<?php bloginfo('url');?>/?itx=css<?php albizia_preview_vars();?>" type="text/css" />
<script type="text/javascript" src="<?php bloginfo('url')?>/?itx=js<?php albizia_preview_vars();?>"></script>
</head>
<body <?php body_class(); ?>>
    <div class="wrap">
        <div id="top-menu">
            <?php albizia_menu('menu_class=sf-menu%20top-menu&theme_location=top');?>

        </div>
    </div>
    <?php itx_header();?>

    <?php extract(itx_get_option('links'))?>
    <div class="wrap"><div id="menu">
        <div class="wrap1">
            <div class="wrap2">
                <?php albizia_menu('menu_class=sf-menu%20ui-widget-header%20ui-corner-all&theme_location=primary');?>
                <ul id="links">
                    <?php if ($twitter): ?><li>
                    <a href="http://twitter.com/<?php echo $twitter ?>" rel="nofollow">
                        <img src="<?php bloginfo('template_directory'); ?>/images/twitter.png" alt ="my twitter" title="Follow our twitter" />
                    </a></li>
                    <?php endif;?>
                     <?php if ($facebook): ?><li>
                    <a href="http://www.facebook.com/<?php echo $facebook ?>" rel="nofollow">
                        <img src="<?php bloginfo('template_directory'); ?>/images/facebook.png" alt ="my facebook" title="Follow our facebook" />
                    </a></li>
                    <?php endif;?>
                    <li><a href="<?php echo $rss ?>">
                        <img src="<?php bloginfo('template_directory'); ?>/images/rss.png" alt="<?php bloginfo('name'); ?>" title="Follow our RSS" />
                    </a></li>
                </ul>
                <div class="clear"></div>
            </div>
        </div>
        </div></div>
<div id="on" class="sidebaron"></div><div id="off" class="sidebaroff"></div>
<div class="clear"></div>